﻿

using AudioStudio;
using AudioStudio.Components;
using AudioStudio.Tools;
using GameFramework.Battle.Core;
using System;
using System.Collections.Generic;
using UnityEngine;
using Yoozoo.Mars.Got;

namespace Yoozoo.Gameplay.RTS
{
    class HeroBossModel : SquareModel
    {
        private float rotateSpeed = 360;
        public override void SetForward(Vector3 forward)
        {
            if (forward.normalized == currentForward.normalized)
            {
                return;
            }
            targetForward = forward.normalized;
            startTime = Time.time;
            needTime = Vector3.Angle(targetForward, currentForward.normalized) / rotateSpeed;
            //if (_gameObject!=null)
            //{
            //    _gameObject.transform.forward = forward;
            //}
        }

        protected override void OnDead()
        {
            
        }
    }
}
